package cn.maihe.elg.operation.config;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description
 * @Author WJH
 * @Date 2021/06/18
 */
@Component
@ConfigurationProperties(prefix = "cn.maihe.elg.aliyun.ocr")
@Setter
@Getter
public class AliyunOcrConfig {

    private String appKey;
    private String appSecret;
    private String appCode;
    private Url idCard;
    private Url businessLicense;
    private Url openLicense;

    @Data
    public static class Url {
        private String host;
        private String restUrl;
    }


}
